<?php

/* * ************************************************************************* 
 * recheck_parsing_model.class.php
 * Encoding : UTF-8
 * Desc. :
 * Created on : 2013-4-23 10:45:07 by Aiden , aiden.ke@doosnet.net
 * Updated on : 2013-4-23 10:45:07 by Aiden , aiden.ke@doosnet.net
 * ************************************************************************* */

defined('IN_SPIDER') or exit('No permission resources.');

pc_base::load_sys_class('model', '', 0);

class recheck_parsing_model extends model {

    public function __construct() {
        $this->db_config = pc_base::load_config('database');
        $this->db_setting = 'default';
        $this->table_name = 'shop_recheck_parsing';
        parent::__construct();
    }

    /**
     * 删除请求记录
     * @param requestId $int 请求ID
     */
    public function delete_request_records($requestId) {
        if (is_numeric($requestId) && $requestId > 0) {
            $this->delete("id= {$requestId}");
        }
    }

}

?>